package com.wwc.sc;

import com.wwc.myrule.MySelfRule;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.ribbon.RibbonClient;

/**
 * @author WWC
 */
@SpringBootApplication
@EnableEurekaClient
@RibbonClient(name = "SPRING-CLOUD-PROVIDER-EUREKA-PAYMENT",configuration = MySelfRule.class)
public class SpringCloudConsumerEurekaOrder80 {
    public static void main(String[] args) {
        SpringApplication.run(SpringCloudConsumerEurekaOrder80.class,args);
    }
}
